﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace SupportWebsite.Models
{
    public class EventModel
    {
        [Required(ErrorMessage = "Please enter Name")]
        public string Name { get; set; }
        [Required(ErrorMessage = "Please enter Description")]
        public string Description { get; set; }
        [Required(ErrorMessage = "Please enter Logo")]
        public string Logo { get; set; }
        [Required(ErrorMessage = "Please enter ShortDescription")]
        public string ShortDescription { get; set; }
        [Required(ErrorMessage = "Please enter StartTime")]
        public DateTime StartDate { get; set; }
        [Required(ErrorMessage = "Please enter EndTime")]
        public DateTime EndDate { get; set; }
    }
}